package com.mysoft.mybatisplus;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableTransactionManagement
@ComponentScan(basePackages = {
        "com.mysoft.mybatisplus.service",
        "com.mysoft.mybatisplus.config"})
public class MybatisplusSpringBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(MybatisplusSpringBootApplication.class, args);
    }
}
